int x = 150; 
void setup() {
  size(400, 400);
  strokeWeight(8);
}
void draw() {
  x = mouseX;
  println(x);
  background(192);
  if (x > 100) {
    rect(100, 100, 200, 200);
  }
  if (x > 200) {    // inverta o sinal para > e veja o circulo
    ellipse(200, 200, 200, 200);
  }
  line(50, 50, 350, 350);
}
  
  
  
